package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the IND_PN_PARTIC_TITU_ANDAHUAYLAS database table.
 * 
 */
//@Entity
//@Table(name="IND_PN_PARTIC_TITU_ANDAHUAYLAS")
public class IndPnParticTituAndahuayla implements Serializable {
	private static final long serialVersionUID = 1L;
	private String aaTitu;
	private String agntSync;
	private String apeMat;
	private String apePat;
	private String areaRegId;
	private String codActoRgst;
	private String codOficReg;
	private String codReg;
	private String cur;
	private String nombres;
	private BigDecimal nsAfec;
	private BigDecimal nsPersNatu;
	private String nuDocIden;
	private String nuTitu;
	private String sistemaId;
	private String tiDocIden;
	private Date tsUltSync;

    public IndPnParticTituAndahuayla() {
    }


	@Column(name="AA_TITU", nullable=false, length=4)
	public String getAaTitu() {
		return this.aaTitu;
	}

	public void setAaTitu(String aaTitu) {
		this.aaTitu = aaTitu;
	}


	@Column(name="AGNT_SYNC", length=4)
	public String getAgntSync() {
		return this.agntSync;
	}

	public void setAgntSync(String agntSync) {
		this.agntSync = agntSync;
	}


	@Column(name="APE_MAT", length=30)
	public String getApeMat() {
		return this.apeMat;
	}

	public void setApeMat(String apeMat) {
		this.apeMat = apeMat;
	}


	@Column(name="APE_PAT", length=30)
	public String getApePat() {
		return this.apePat;
	}

	public void setApePat(String apePat) {
		this.apePat = apePat;
	}


	@Column(name="AREA_REG_ID", length=5)
	public String getAreaRegId() {
		return this.areaRegId;
	}

	public void setAreaRegId(String areaRegId) {
		this.areaRegId = areaRegId;
	}


	@Column(name="COD_ACTO_RGST", nullable=false, length=5)
	public String getCodActoRgst() {
		return this.codActoRgst;
	}

	public void setCodActoRgst(String codActoRgst) {
		this.codActoRgst = codActoRgst;
	}


	@Column(name="COD_OFIC_REG", nullable=false, length=2)
	public String getCodOficReg() {
		return this.codOficReg;
	}

	public void setCodOficReg(String codOficReg) {
		this.codOficReg = codOficReg;
	}


	@Column(name="COD_REG", nullable=false, length=2)
	public String getCodReg() {
		return this.codReg;
	}

	public void setCodReg(String codReg) {
		this.codReg = codReg;
	}


	@Column(length=14)
	public String getCur() {
		return this.cur;
	}

	public void setCur(String cur) {
		this.cur = cur;
	}


	@Column(length=40)
	public String getNombres() {
		return this.nombres;
	}

	public void setNombres(String nombres) {
		this.nombres = nombres;
	}


	@Column(name="NS_AFEC", nullable=false)
	public BigDecimal getNsAfec() {
		return this.nsAfec;
	}

	public void setNsAfec(BigDecimal nsAfec) {
		this.nsAfec = nsAfec;
	}


	@Column(name="NS_PERS_NATU", nullable=false)
	public BigDecimal getNsPersNatu() {
		return this.nsPersNatu;
	}

	public void setNsPersNatu(BigDecimal nsPersNatu) {
		this.nsPersNatu = nsPersNatu;
	}


	@Column(name="NU_DOC_IDEN", length=11)
	public String getNuDocIden() {
		return this.nuDocIden;
	}

	public void setNuDocIden(String nuDocIden) {
		this.nuDocIden = nuDocIden;
	}


	@Column(name="NU_TITU", nullable=false, length=8)
	public String getNuTitu() {
		return this.nuTitu;
	}

	public void setNuTitu(String nuTitu) {
		this.nuTitu = nuTitu;
	}


	@Column(name="SISTEMA_ID", nullable=false, length=3)
	public String getSistemaId() {
		return this.sistemaId;
	}

	public void setSistemaId(String sistemaId) {
		this.sistemaId = sistemaId;
	}


	@Column(name="TI_DOC_IDEN", length=2)
	public String getTiDocIden() {
		return this.tiDocIden;
	}

	public void setTiDocIden(String tiDocIden) {
		this.tiDocIden = tiDocIden;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_SYNC")
	public Date getTsUltSync() {
		return this.tsUltSync;
	}

	public void setTsUltSync(Date tsUltSync) {
		this.tsUltSync = tsUltSync;
	}

}